<ul id="navigation">
	<?php if ($this->auth->getUserGroup() != 'Journalist'){?>
	<li><span class="bold"><?php echo T_('Accounts Manager')?></span>
		<ul>
			<li><?php echo anchor('/admins', T_('Admins'))?></li>
			<li><?php echo anchor('/users', T_('Users'))?></li>
		</ul>
	</li>
	<?php } ?>
	<li><span class="bold"><?php echo T_('Publications Manager')?></span>
		<ul>
			<li><?php echo anchor('/literature', T_('Literature'))?></li>
			<li><?php echo anchor('/sections', T_('Sections'))?></li>
		</ul>
	</li>
	<?php if ($this->auth->getUserGroup() != 'Journalist'){?>
	<li><span class="bold"><?php echo anchor('/faq/', T_('FAQ Manager'))?></span></li>
	<li><span class="bold"><?php echo T_('Blog Manager'); ?></span>
		<ul>
			<li><?php echo anchor('/blog/posts/', T_('Posts'))?></li>
			<li><?php echo anchor('/blog/comments/', T_('Comments'))?></li>
		</ul>
	</li>
	<li><span class="bold"><?php echo T_('Pages Manager'); ?></span>
		<ul>
			<li><?php echo anchor('/pages/index/static/', T_('Static Pages'))?></li>
			<li><?php echo anchor('/pages/index/news/', T_('News Pages'))?></li>
		</ul>
	</li>
	<li><span class="bold"><?php echo T_('Settings'); ?></span>
		<ul>
			<li><?php echo anchor('/admins/details', T_('My Settings'))?></li>
			<li><?php echo anchor('/settings', T_('Site parameters'))?></li>
			<li><?php echo anchor('/emails', T_('Email messages'))?></li>
			<li><?php echo anchor('/countries', T_('Countries'))?></li>
			<li><?php echo anchor('/states', T_('States'))?></li>
			<li><?php echo anchor('/cities', T_('Cities'))?></li>
		</ul>
	</li>
	<?php } else { ?>
		<li><span class="bold"><?php echo anchor('/pages/index/static/', T_('My profile'))?></span></li>
		
	<?php }?>
</ul>

<script type="text/javascript">
	$("#navigation").treeview({
		animated: "normal",
		persist: "location",
		collapsed: true,
		unique: true
	});
</script>